<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <script src="../js/vue.js"></script>
    </head>
    <body>
        <div id="app">
                <a href="https://www.baiduu.com" @click.prevent>阻止默认行为</a>
                <a href="https://www.baiduu.com">不阻止默认行为</a>
        </div>
        <script>
            var vm = new Vue({
                el:'#app'
            })
        </script>
    </body>
</html>